import * as onigasm from 'onigasm'
import onigasmWasm from 'onigasm/lib/onigasm.wasm?url'

function loadOnigasm () {
  return onigasm.loadWASM(onigasmWasm)
}

export {
  loadOnigasm
}
